﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginLog.aspx.cs" Inherits="SystemManage_LoginLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Shove.Web.UI.4 For.NET 2.0" Namespace="Shove.Web.UI" TagPrefix="ShoveWebUI" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Style/css.css" type="text/css" rel="stylesheet" />
    <link href="../Style/main.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
        <table id="Table1" cellspacing="0" cellpadding="0" width="90%" border="0" align="center">
            <tr>
                <td style="height: 30px">
                    &nbsp;用户名
                    <asp:TextBox ID="tbUserName" runat="server"></asp:TextBox>&nbsp;
                    <asp:DropDownList ID="ddlTime" runat="server" Width="152px">
                        <asp:ListItem Value="-1">全部</asp:ListItem>
                        <asp:ListItem Value="1" Selected="True">一天内</asp:ListItem>
                        <asp:ListItem Value="2">二天内</asp:ListItem>
                        <asp:ListItem Value="3">三天内</asp:ListItem>
                        <asp:ListItem Value="7">一周内</asp:ListItem>
                        <asp:ListItem Value="14">二周内</asp:ListItem>
                        <asp:ListItem Value="31">一月内</asp:ListItem>
                        <asp:ListItem Value="61">二月内</asp:ListItem>
                        <asp:ListItem Value="365">一年内</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;
                    <ShoveWebUI:ShoveConfirmButton ID="btnGo" runat="server" Width="72px" Text="查询" OnClick="btnGo_Click" />&nbsp;
                    <ShoveWebUI:ShoveConfirmButton ID="btnClear" runat="server" Width="62px" Height="20px"
                        BackgroupImage="../Images/Admin/buttbg.gif" Text="清除日志" AlertText="确信要删除选定的这些日志信息吗？"
                        OnClick="btnClear_Click" />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                        CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                        AllowPaging="True" CssClass="gStyle">
                        <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                        <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                        </HeaderStyle>
                        <ItemStyle CssClass="gItem" BackColor="White" />
                        <Columns>
                            <asp:BoundColumn DataField="CustomerNO" SortExpression="CustomerNO" HeaderText="用户名">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CustomerName" SortExpression="CustomerName" HeaderText="真实姓名">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Province" SortExpression="Province" HeaderText="省份">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="City" SortExpression="City" HeaderText="城市"></asp:BoundColumn>
                            <asp:BoundColumn DataField="OperatorDate" SortExpression="OperatorDate" HeaderText="时间">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="IP" SortExpression="IP" HeaderText="IP地址">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="IP" SortExpression="IP" HeaderText="IP地区"
                                Visible="false"></asp:BoundColumn>
                            <asp:BoundColumn DataField="DescriptionNo" SortExpression="DescriptionNo" HeaderText="描述">
                            </asp:BoundColumn>
                        </Columns>
                        <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                        </PagerStyle>
                    </asp:DataGrid>
                    <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                        runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                        OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                        GuiseColor="False" ClientNavigation="true" PageSize="10" />
                </td>
            </tr>
        </table>
        <br />
    </div>
    </form>
</body>
</html>
